<?php

/**
 * Created by PhpStorm.
 * Author: ls
 * Time: 2023/10/17 16:39
 * Desc: 问答
 */
abstract class Contract_Api_Question
{
    use Trait_Api_Image;
    use Trait_Api_Content;
    use Trait_Api_Response;

    /**
     * 问答列表
     * @param $params
     * @return array
     */
    abstract function question_list($params): array;

    /**
     * 添加问答
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function add_question($params): array;
}